package com.cloud.force.api.entity;

import java.util.Date;
import javax.persistence.*;

@Table(name = "wf_item_inst")
public class WfItemInst {
    @Id
    @Column(name = "item_id")
    private Long itemId;

    @Column(name = "act_def_name")
    private String actDefName;

    @Column(name = "act_id")
    private Long actId;

    @Column(name = "action_name")
    private String actionName;

    @Column(name = "action_time")
    private Date actionTime;

    private String detail;

    @Column(name = "human_id")
    private Long humanId;

    @Column(name = "human_name")
    private String humanName;

    @Column(name = "item_content")
    private String itemContent;

    @Column(name = "item_type")
    private Integer itemType;

    @Column(name = "item_type_name")
    private String itemTypeName;

    @Column(name = "next_act_id")
    private Long nextActId;

    @Column(name = "next_human_id")
    private Long nextHumanId;

    @Column(name = "next_role_id")
    private Long nextRoleId;

    @Column(name = "next_unit_id")
    private Long nextUnitId;

    @Column(name = "rec_id")
    private Long recId;

    /**
     * @return item_id
     */
    public Long getItemId() {
        return itemId;
    }

    /**
     * @param itemId
     */
    public void setItemId(Long itemId) {
        this.itemId = itemId;
    }

    /**
     * @return act_def_name
     */
    public String getActDefName() {
        return actDefName;
    }

    /**
     * @param actDefName
     */
    public void setActDefName(String actDefName) {
        this.actDefName = actDefName;
    }

    /**
     * @return act_id
     */
    public Long getActId() {
        return actId;
    }

    /**
     * @param actId
     */
    public void setActId(Long actId) {
        this.actId = actId;
    }

    /**
     * @return action_name
     */
    public String getActionName() {
        return actionName;
    }

    /**
     * @param actionName
     */
    public void setActionName(String actionName) {
        this.actionName = actionName;
    }

    /**
     * @return action_time
     */
    public Date getActionTime() {
        return actionTime;
    }

    /**
     * @param actionTime
     */
    public void setActionTime(Date actionTime) {
        this.actionTime = actionTime;
    }

    /**
     * @return detail
     */
    public String getDetail() {
        return detail;
    }

    /**
     * @param detail
     */
    public void setDetail(String detail) {
        this.detail = detail;
    }

    /**
     * @return human_id
     */
    public Long getHumanId() {
        return humanId;
    }

    /**
     * @param humanId
     */
    public void setHumanId(Long humanId) {
        this.humanId = humanId;
    }

    /**
     * @return human_name
     */
    public String getHumanName() {
        return humanName;
    }

    /**
     * @param humanName
     */
    public void setHumanName(String humanName) {
        this.humanName = humanName;
    }

    /**
     * @return item_content
     */
    public String getItemContent() {
        return itemContent;
    }

    /**
     * @param itemContent
     */
    public void setItemContent(String itemContent) {
        this.itemContent = itemContent;
    }

    /**
     * @return item_type
     */
    public Integer getItemType() {
        return itemType;
    }

    /**
     * @param itemType
     */
    public void setItemType(Integer itemType) {
        this.itemType = itemType;
    }

    /**
     * @return item_type_name
     */
    public String getItemTypeName() {
        return itemTypeName;
    }

    /**
     * @param itemTypeName
     */
    public void setItemTypeName(String itemTypeName) {
        this.itemTypeName = itemTypeName;
    }

    /**
     * @return next_act_id
     */
    public Long getNextActId() {
        return nextActId;
    }

    /**
     * @param nextActId
     */
    public void setNextActId(Long nextActId) {
        this.nextActId = nextActId;
    }

    /**
     * @return next_human_id
     */
    public Long getNextHumanId() {
        return nextHumanId;
    }

    /**
     * @param nextHumanId
     */
    public void setNextHumanId(Long nextHumanId) {
        this.nextHumanId = nextHumanId;
    }

    /**
     * @return next_role_id
     */
    public Long getNextRoleId() {
        return nextRoleId;
    }

    /**
     * @param nextRoleId
     */
    public void setNextRoleId(Long nextRoleId) {
        this.nextRoleId = nextRoleId;
    }

    /**
     * @return next_unit_id
     */
    public Long getNextUnitId() {
        return nextUnitId;
    }

    /**
     * @param nextUnitId
     */
    public void setNextUnitId(Long nextUnitId) {
        this.nextUnitId = nextUnitId;
    }

    /**
     * @return rec_id
     */
    public Long getRecId() {
        return recId;
    }

    /**
     * @param recId
     */
    public void setRecId(Long recId) {
        this.recId = recId;
    }
}